<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>login to admin</title>
		<style>
div {
	margin-left: auto;
	margin-right: auto;
}

.ct {
	width: 400px;
}

table {
	border: green solid 1px;
}

table td {
	height: 20px;
	padding: 5px;
}
</style>
	</head>

	<body>
		<form method="post" action="tologin">
			<div class="ct">
			   <div><font color="red">${error}</font></div>
				<table width="100%" cellpadding="0" border="0" cellspacing="0">
					<tr>
						<td colspan="3" bgcolor="#0099FF">
							<strong><font color="white">LOGIN</font>
							</strong>
						</td>
					</tr>
					<tr>
						<td width="31%">
							<strong>Username:</strong>
						</td>
						<td colspan="2">
							<input type="text" name="username" value="${username}" />
						</td>
					</tr>
					<tr>
						<td>
							<strong>Password:</strong>
						</td>
						<td colspan="2">
							<input type="password" name="password" />
						</td>
					</tr>
					<tr>
						<td>
							<strong>Code:</strong>
						</td>
						<td width="20%" align="left">
							<input type="text" name="code" size="10" />
						</td>
						<td width="49%" align="left">
							<img src="code.jsp" />
						</td>
					</tr>
					<tr>
						<td colspan="3" align="center">
							<input type="submit" value="Submit" />
							<input type="reset" value="Reset" />
						</td>
					</tr>
				</table>
			</div>

		</form>
	</body>
</html>
